﻿/* rem是相对于根元素<html>， 浏览器默认字体一般为16px，默认字体大小的的62.5%即为10px，为了rem方便换算*/
html {
    font-size: 62.5%;/*10 ÷ 16 × 100% = 62.5%*/
    height: 100%;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
body{    
    background: url(../dv-demo/images/index_bg.png) left top no-repeat;
    background-size: 100% 100%;
    justify-content: center;
    outline: none;
    color: #fff;
}
.zcb-layer{
    width: 100%;
    height: 98%;
    /*padding: 0;*/
    margin-right: auto;
    margin-left: auto;
    display: flex;
}
.zcb-header{
    padding-top: 10px;
    padding-bottom: 10px;
}
.zcb-body { 
    /* padding: 5px; */
}


.dv-leftwrap{
    width: 75%;
    height: 100%;
}
.dv-rightwrap{
    width: 25%;
    height: 100%;
    margin-top: 5px;
    margin-left: 10px;
    /*border-image: url(../dv-demo/images/biankuang.png) 32 37 fill /1/0/ stretch;*/
    border-image-source: url(../dv-demo/images/biankuang.png);
    /*slice可接受四个数值参数，以及fill，下面的32 37表示以上下边框的32px切割，左右边框的37px切割*/
    border-image-slice: 32 37 fill;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-style: solid;
    border-width: 1rem 1rem;
}
.dv-row {
    display: flex;
    flex-wrap: wrap;
}

.dv-maintitle{
    align-items: center; 
    justify-content: flex-start; 
    color: rgb(248, 248, 248); 
    font-weight: bolder; 
    font-family: arial, Arial, sans-serif; 
    font-size: 5vh;
    line-height: 1.2;
    text-overflow: ellipsis; 
    white-space: nowrap; 
    overflow: hidden;
    margin-top: 5px;
}
#datav-time{
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin-top: 0;
}

.risk-manage{
    height: 100%;
    width: 25%;
    padding-right: 10px;
}
.risk-manage .zcb-panel{
    height: 100%;
    border-image: url(../dv-demo/images/biankuang.png) 32 37 fill / 1 / 0 stretch;
    border-style: solid;
    border-width: 1rem 1rem;
}
.loop-body{
    display: flex;
}
.loop-item{
    font-size: 10px;
}
.loop-foot{
    border: 1px solid rgb(0, 186, 255);
    margin-bottom: 10px;
}
.box {
    padding: 0;
    margin: 0 0 0 5px;
    position: relative;
    overflow: hidden;
}
.animate {
    padding-left: 20px;
    white-space: nowrap;
    display: inline-block;
    animation: wordsloop 15s linear infinite normal;
    -webkit-animation: wordsloop 15s linear infinite;
}
@keyframes wordsloop {
    0% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
    100% {
        transform: translateX(-75%);
        -webkit-transform: translateX(-75%);
    }
}
@-webkit-keyframes wordsloop {
    0% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
    100% {
        transform: translateX(-75%);
        -webkit-transform: translateX(-75%);
    }
}

.map-content{
    height: 100%;
    width: 75%;
    border-radius: 6px;
    padding: 0 10px;
}
.map-content .zcb-panel{
    width: 100%;
    height: 100%;
    border-image: url(../dv-demo/images/biankuang.png) 32 37 fill / 1 / 0 stretch;
    border-style: solid;
    border-width: 1rem 1rem;
}



.task-complete{
    width: 100%;
    height: 100%;
}
.task-complete .zcb-body{
    height: 88%;
}